
<div class="login-form align-center">
    <h2><?= $this->__('Edit profile'); ?></h2>

    <div>
        <label>Логин</label>
        <input type="text" disabled="true" value="<?= $this->user['username']; ?>">
    </div>

    <div>
        <label>Email</label>
        <input type="text" disabled="true" value="<?= $this->user['email']; ?>">
    </div>

    <form action="" method="post">
        <div>
            <label for="first_name">Имя</label>
            <input type="text" id="first_name" name="first_name" value="<?= $this->user['first_name']; ?>">
        </div>
        <div>
            <label for="last_name">Фамилия</label>
            <input type="text" id="last_name" name="last_name" value="<?= $this->user['last_name']; ?>">
        </div>
        <div>
            <label for="status">Статус</label>
            <textarea id="status" name="status" maxlength="255"><?= $this->user['status']; ?></textarea>
        </div>
        <div><label for="birth_date">Дата рождения</label>
            <input type="date" id="birth_date" name="birth_date" value="<?= $this->user['birth_date']; ?>">
        </div>
        <div>
            <label for="gender" class="required">Пол</label>
            <select id="gender" name="gender" required="required">
                <option value="0" <?= ($this->user['gender'] == '0') ? 'selected="selected"' : ''; ?>>Мужской</option>
                <option value="1" <?= ($this->user['gender'] == '1') ? 'selected="selected"' : ''; ?>>Женский</option></select>
        </div>
        <input type="submit" value="Сохранить" id="registration-submit" class="btn btn-success">
    </form>
</div>

